<div class="block" id="block-tables">

                <div class="secondary-navigation">
                    <ul class="wat-cf">
                        <li class="first"><a href="t_pegawai">Listing</a></li>
                        <li class="{if $action_mode == 'create'}active{/if}"><a href="t_pegawai/create/">New record</a></li>
                    </ul>
                </div>

                <div class="content">
                    <div class="inner">
                        {if $action_mode == 'create'}
                            <h3>Add new record</h3>
                        {else}
                            <h3>Edit record: #{$record_id}</h3>
                        {/if}
                        {if isset($errors)}
                            <div class="flash">
                                <div class="message error">
                                    <p>{$errors}</p>
                                </div>
                            </div>
                        {/if}

                        <form class="form" method='post' action='t_pegawai/{$action_mode}/{if isset($record_id)}{$record_id}{/if}' enctype="multipart/form-data">

                            
    	<div class="group">
            <label class="label">{$t_pegawai_fields.NOMOR_INDUK}<span class="error">*</span></label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($t_pegawai_data)}{$t_pegawai_data.NOMOR_INDUK}{/if}" name="NOMOR_INDUK" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$t_pegawai_fields.NM_PEGAWAI}<span class="error">*</span></label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($t_pegawai_data)}{$t_pegawai_data.NM_PEGAWAI}{/if}" name="NM_PEGAWAI" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$t_pegawai_fields.INISIAL}<span class="error">*</span></label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($t_pegawai_data)}{$t_pegawai_data.INISIAL}{/if}" name="INISIAL" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$t_pegawai_fields.KOTA_LAHIR}<span class="error">*</span></label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($t_pegawai_data)}{$t_pegawai_data.KOTA_LAHIR}{/if}" name="KOTA_LAHIR" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$t_pegawai_fields.TANGGAL_LAHIR}<span class="error">*</span></label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($t_pegawai_data)}{$t_pegawai_data.TANGGAL_LAHIR}{/if}" name="TANGGAL_LAHIR" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$t_pegawai_fields.KD_JENIS_KELAMIN}<span class="error">*</span></label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($t_pegawai_data)}{$t_pegawai_data.KD_JENIS_KELAMIN}{/if}" name="KD_JENIS_KELAMIN" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$t_pegawai_fields.KD_GOL_DARAH}<span class="error">*</span></label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($t_pegawai_data)}{$t_pegawai_data.KD_GOL_DARAH}{/if}" name="KD_GOL_DARAH" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$t_pegawai_fields.KD_AGAMA}<span class="error">*</span></label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($t_pegawai_data)}{$t_pegawai_data.KD_AGAMA}{/if}" name="KD_AGAMA" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$t_pegawai_fields.KD_STATUS_NIKAH}<span class="error">*</span></label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($t_pegawai_data)}{$t_pegawai_data.KD_STATUS_NIKAH}{/if}" name="KD_STATUS_NIKAH" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$t_pegawai_fields.ALAMAT}<span class="error">*</span></label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($t_pegawai_data)}{$t_pegawai_data.ALAMAT}{/if}" name="ALAMAT" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$t_pegawai_fields.KD_POS}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($t_pegawai_data)}{$t_pegawai_data.KD_POS}{/if}" name="KD_POS" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$t_pegawai_fields.NO_TELP}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($t_pegawai_data)}{$t_pegawai_data.NO_TELP}{/if}" name="NO_TELP" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$t_pegawai_fields.KD_JENIS_KETENAGAAN}<span class="error">*</span></label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($t_pegawai_data)}{$t_pegawai_data.KD_JENIS_KETENAGAAN}{/if}" name="KD_JENIS_KETENAGAAN" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$t_pegawai_fields.NO_HP}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($t_pegawai_data)}{$t_pegawai_data.NO_HP}{/if}" name="NO_HP" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$t_pegawai_fields.DIR_FOTO}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($t_pegawai_data)}{$t_pegawai_data.DIR_FOTO}{/if}" name="DIR_FOTO" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$t_pegawai_fields.USERNAME}<span class="error">*</span></label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($t_pegawai_data)}{$t_pegawai_data.USERNAME}{/if}" name="USERNAME" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$t_pegawai_fields.TANGGAL_AKSES}<span class="error">*</span></label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($t_pegawai_data)}{$t_pegawai_data.TANGGAL_AKSES}{/if}" name="TANGGAL_AKSES" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$t_pegawai_fields.NOMOR_INDUK_BARU}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($t_pegawai_data)}{$t_pegawai_data.NOMOR_INDUK_BARU}{/if}" name="NOMOR_INDUK_BARU" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$t_pegawai_fields.NUPTK}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($t_pegawai_data)}{$t_pegawai_data.NUPTK}{/if}" name="NUPTK" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$t_pegawai_fields.GELAR_DEPAN}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($t_pegawai_data)}{$t_pegawai_data.GELAR_DEPAN}{/if}" name="GELAR_DEPAN" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$t_pegawai_fields.GELAR_BELAKANG}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($t_pegawai_data)}{$t_pegawai_data.GELAR_BELAKANG}{/if}" name="GELAR_BELAKANG" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$t_pegawai_fields.NIY_NIGK}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($t_pegawai_data)}{$t_pegawai_data.NIY_NIGK}{/if}" name="NIY_NIGK" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$t_pegawai_fields.NIK}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($t_pegawai_data)}{$t_pegawai_data.NIK}{/if}" name="NIK" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$t_pegawai_fields.NM_IBU_KANDUNG}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($t_pegawai_data)}{$t_pegawai_data.NM_IBU_KANDUNG}{/if}" name="NM_IBU_KANDUNG" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$t_pegawai_fields.RT}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($t_pegawai_data)}{$t_pegawai_data.RT}{/if}" name="RT" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$t_pegawai_fields.RW}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($t_pegawai_data)}{$t_pegawai_data.RW}{/if}" name="RW" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$t_pegawai_fields.KELURAHAN_DESA}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($t_pegawai_data)}{$t_pegawai_data.KELURAHAN_DESA}{/if}" name="KELURAHAN_DESA" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$t_pegawai_fields.KECAMATAN}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($t_pegawai_data)}{$t_pegawai_data.KECAMATAN}{/if}" name="KECAMATAN" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$t_pegawai_fields.KABUPATEN_KOTA}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($t_pegawai_data)}{$t_pegawai_data.KABUPATEN_KOTA}{/if}" name="KABUPATEN_KOTA" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$t_pegawai_fields.PROPINSI}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($t_pegawai_data)}{$t_pegawai_data.PROPINSI}{/if}" name="PROPINSI" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$t_pegawai_fields.KD_AREA}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($t_pegawai_data)}{$t_pegawai_data.KD_AREA}{/if}" name="KD_AREA" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$t_pegawai_fields.EMAIL}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($t_pegawai_data)}{$t_pegawai_data.EMAIL}{/if}" name="EMAIL" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$t_pegawai_fields.STATUS_KEPEGAWAIAN}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($t_pegawai_data)}{$t_pegawai_data.STATUS_KEPEGAWAIAN}{/if}" name="STATUS_KEPEGAWAIAN" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$t_pegawai_fields.SERTIFIKASI_JABATAN}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($t_pegawai_data)}{$t_pegawai_data.SERTIFIKASI_JABATAN}{/if}" name="SERTIFIKASI_JABATAN" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$t_pegawai_fields.TAHUN_SERTIFIKAT_JABATAN}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($t_pegawai_data)}{$t_pegawai_data.TAHUN_SERTIFIKAT_JABATAN}{/if}" name="TAHUN_SERTIFIKAT_JABATAN" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$t_pegawai_fields.NOMOR_SERTIFIKAT_JABATAN}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($t_pegawai_data)}{$t_pegawai_data.NOMOR_SERTIFIKAT_JABATAN}{/if}" name="NOMOR_SERTIFIKAT_JABATAN" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$t_pegawai_fields.KD_SERTIFIKASI_BIDANG_STUDI}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($t_pegawai_data)}{$t_pegawai_data.KD_SERTIFIKASI_BIDANG_STUDI}{/if}" name="KD_SERTIFIKASI_BIDANG_STUDI" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$t_pegawai_fields.KD_PROGRAM_KEAHLIAN}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($t_pegawai_data)}{$t_pegawai_data.KD_PROGRAM_KEAHLIAN}{/if}" name="KD_PROGRAM_KEAHLIAN" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$t_pegawai_fields.LISENSI_KEPALA_SEKOLAH}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($t_pegawai_data)}{$t_pegawai_data.LISENSI_KEPALA_SEKOLAH}{/if}" name="LISENSI_KEPALA_SEKOLAH" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$t_pegawai_fields.CATATAN}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($t_pegawai_data)}{$t_pegawai_data.CATATAN}{/if}" name="CATATAN" />
    		</div>
    		
    	</div>
    

                            <div class="group navform wat-cf">
                                    <button class="button" type="submit">
                                        <img src="iscaffold/backend_skins/images/icons/tick.png" alt="Save"> Save
                                    </button>
                                    <span class="text_button_padding">or</span>
                                    <a class="text_button_padding link_button" href="javascript:window.history.back();">Cancel</a>
                            </div>
                        </form>
                    </div><!-- .inner -->
                </div><!-- .content -->
            </div><!-- .block -->
